﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

namespace Surpass.Repository.Migrations
{
    public partial class workflow : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateTable(
                name: "LeaveRequest",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    Reason = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
                    Duration = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    CreateTime = table.Column<DateTime>(type: "datetime2", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_LeaveRequest", x => x.Id);
                });

            migrationBuilder.CreateTable(
                name: "WF_FlowInstance",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    NodeSN = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: false),
                    NodeName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
                    WFStatus = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: true),
                    StarterId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
                    Starter = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    OperatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
                    Operator = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    ToDoerId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
                    ToDoer = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    Operated = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true),
                    CreateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    UpdateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    RequisitionId = table.Column<Guid>(type: "uniqueidentifier", nullable: true)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_WF_FlowInstance", x => x.Id);
                });

            migrationBuilder.CreateTable(
                name: "WF_FlowRecord",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    WorkId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
                    CurrentNodeSN = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true),
                    CurrentNode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
                    OperatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
                    Operator = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
                    UpdateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    IsRead = table.Column<bool>(type: "bit", nullable: false),
                    IsPass = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_WF_FlowRecord", x => x.Id);
                });

            migrationBuilder.CreateTable(
                name: "WF_Node",
                columns: table => new
                {
                    Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
                    NodeSN = table.Column<string>(type: "nvarchar(11)", maxLength: 11, nullable: false),
                    NodeName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false),
                    OperatorId = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
                    Operator = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    NextNodeSN = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    LastNodeSN = table.Column<string>(type: "nvarchar(max)", nullable: true),
                    CreateTime = table.Column<DateTime>(type: "datetime2", nullable: false),
                    IsDelete = table.Column<bool>(type: "bit", nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_WF_Node", x => x.Id);
                });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1370), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1368) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1378), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1377) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1380), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1379) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1375), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1374) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1372), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1371) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1383), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1381) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1385), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1384) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1387), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1386) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1330), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(111) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1367), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1366) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1390), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1388) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1353), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1351) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1356), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1354) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1392), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1391) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1394), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1393) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1398), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1397) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1358), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1357) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1400), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1399) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1402), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1401) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1405), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1404) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1407), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1406) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1361), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1359) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1409), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1408) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1411), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(1410) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 205, DateTimeKind.Local).AddTicks(7012), new DateTime(2021, 11, 12, 16, 42, 35, 205, DateTimeKind.Local).AddTicks(6420) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4966), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4965) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4973), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4972) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4974), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4974) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4970), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4969) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4968), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4967) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4976), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4976) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4978), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4977) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4980), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4979) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4708), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4184) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4964), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4963) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4982), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4981) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4954), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4950) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4956), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4955) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4984), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4983) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4985), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4985) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4988), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4987) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4958), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4957) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4990), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4989) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4992), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4991) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4994), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4993) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4995), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4995) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4960), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4959) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4997), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4996) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4999), new DateTime(2021, 11, 12, 16, 42, 35, 207, DateTimeKind.Local).AddTicks(4998) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 204, DateTimeKind.Local).AddTicks(6111), new DateTime(2021, 11, 12, 16, 42, 35, 204, DateTimeKind.Local).AddTicks(6314) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 12, 16, 42, 35, 205, DateTimeKind.Local).AddTicks(9688), new DateTime(2021, 11, 12, 16, 42, 35, 205, DateTimeKind.Local).AddTicks(8914) });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropTable(
                name: "LeaveRequest");

            migrationBuilder.DropTable(
                name: "WF_FlowInstance");

            migrationBuilder.DropTable(
                name: "WF_FlowRecord");

            migrationBuilder.DropTable(
                name: "WF_Node");

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4532), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4531) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4540), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4539) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4542), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4541) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_PERMS_CONFIG",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4537), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4536) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_R_RELATION",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4535), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4533) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_ADD",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4545), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4544) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_DELETE",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4547), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4546) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "B101_U_EDIT",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4550), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4548) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M1",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4501), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(3161) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M101",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4530), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4528) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M102",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4552), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4551) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M2",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4518), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4516) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M3",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4521), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4519) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M301",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4554), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4553) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M302",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4557), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4555) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M303",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4560), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4558) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M4",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4523), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4522) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M401",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4562), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4561) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M402",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4564), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4563) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40201",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4567), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4565) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M40202",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4569), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4568) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M5",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4526), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4524) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M501",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4571), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4570) });

            migrationBuilder.UpdateData(
                table: "Sys_Menu",
                keyColumn: "MenuId",
                keyValue: "M502",
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4574), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(4572) });

            migrationBuilder.UpdateData(
                table: "Sys_Role",
                keyColumn: "RoleId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 288, DateTimeKind.Local).AddTicks(1022), new DateTime(2021, 11, 3, 15, 6, 27, 288, DateTimeKind.Local).AddTicks(426) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8859), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8858) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8865), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8864) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8867), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8866) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_PERMS_CONFIG", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8863), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8862) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_R_RELATION", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8861), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8860) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_ADD", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8869), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8868) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_DELETE", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8871), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8870) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "B101_U_EDIT", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8872), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8872) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M1", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8681), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8177) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M101", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8857), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8856) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M102", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8874), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8873) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M2", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8849), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8846) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M3", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8851), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8850) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M301", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8876), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8875) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M302", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8878), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8877) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M303", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8880), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8880) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M4", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8853), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8852) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M401", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8882), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8881) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M402", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8884), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8883) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40201", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8886), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8885) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M40202", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8887), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8887) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M5", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8854), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8853) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M501", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8889), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8888) });

            migrationBuilder.UpdateData(
                table: "Sys_Role_Menu_Relation",
                keyColumns: new[] { "MenuId", "RoleId" },
                keyValues: new object[] { "M502", 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8891), new DateTime(2021, 11, 3, 15, 6, 27, 289, DateTimeKind.Local).AddTicks(8890) });

            migrationBuilder.UpdateData(
                table: "Sys_User",
                keyColumn: "UserId",
                keyValue: 1L,
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 286, DateTimeKind.Local).AddTicks(9947), new DateTime(2021, 11, 3, 15, 6, 27, 287, DateTimeKind.Local).AddTicks(140) });

            migrationBuilder.UpdateData(
                table: "Sys_User_Role_Relation",
                keyColumns: new[] { "RoleId", "UserId" },
                keyValues: new object[] { 1L, 1L },
                columns: new[] { "CreatedTime", "UpdatedTime" },
                values: new object[] { new DateTime(2021, 11, 3, 15, 6, 27, 288, DateTimeKind.Local).AddTicks(2847), new DateTime(2021, 11, 3, 15, 6, 27, 288, DateTimeKind.Local).AddTicks(2471) });
        }
    }
}
